package com.zzx.boot.entity.table;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tan
 * @version 1.0
 * @date 2023/7/8 20:16
 */
@TableName("tb_post")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Post {

    private Long id;
    private Long userId;
    private String title;
    private String titlepic;
    private String content;
    private Integer sharenum;// 分享次数
    private String path;// 地址
    private Integer type;//0 图文 1分享
    private String createTime;
    private Long postClassId;//文章id
    private Long shareId;//分享的文章id
    private Integer isopen;//1开放 0仅自己可见



}
